3fc5f717d47ecd3afe2f4e3fbffc169e53c2a482,samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ItemAddListener.java,ItemAddListener,preparePublishedTextForEMI,#ItemFacade#ItemBean#ItemService#,2058
Before Change
for(AnswerIfc currentItemAnswer: deleteItemAnswerSet){
//if the answer option was removed before then the item
//answer will also be removed (not added back here)
if(currentItemAnswer.getSequence() == currentAnswerOption.getSequence()){
currentItemAnswer.setText(currentAnswerOption.getText());
currentItemAnswer.setLabel(currentAnswerOption.getLabel());
currentItemAnswer.setIsCorrect(isCorrect);
After Change
for(AnswerIfc currentItemAnswer: deleteItemAnswerSet){
//if the answer option was removed before then the item
//answer will also be removed (not added back here)
if(currentItemAnswer.getSequence().equals(currentAnswerOption.getSequence())){
currentItemAnswer.setText(currentAnswerOption.getText());
currentItemAnswer.setLabel(currentAnswerOption.getLabel());
currentItemAnswer.setIsCorrect(isCorrect);